/ Assembly List / LJCNetCommon / RefTypes / HasItems

Namespace - LJCNetCommon


Parameters
collectionObject - The collection object.

Returns

True if there are items, otherwise false.

Syntax

C#
public static Boolean HasItems(RefTypes collectionObject)

Checks if the collection has items.

Remarks

This allows a single if statement where the collection object may be null.

Copyright © Lester J. Clark and Contributors.
Licensed under the MIT License.